package com.malty.mall.service.ums;

import com.baomidou.mybatisplus.extension.service.IService;
import com.malty.mall.domain.entity.ums.UmsAdminRoleRelation;

/**
 * @author malty
 */
public interface IUmsAdminRoleService extends IService<UmsAdminRoleRelation> {

    /**
     * 管理用户和角色
     *
     * @param uid 用户id
     * @param roleId 角色id
     * @return 关联结果
     */
    Boolean createOrUpdate(Integer uid,Integer roleId);

}
